//
//  NetworkManger+MedicineManger.h
//  DeepBreathing
//
//  Created by rimi on 15/12/19.
//  Copyright © 2015年 rimi. All rights reserved.
//

#import "NetworkManger.h"

@interface NetworkManger (MedicineManger)
//获取药物列表
+(void)getMedicineListWith:(NSInteger)page pageSize:(NSInteger)pageSize successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//扫码添加药品
+(void)sweepQRcodeToAddMedicineWith:(NSString *)barcode successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//根据药品名查询药物
+(void)accordingTheNameOfMedicineToSearchMedicineWith:(NSString *)name page:(NSInteger)page pageSize:(NSInteger)pageSize successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//用户添加药物
+(void)userAddMedicineWith:(NSString *)medicId successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//药品详情
+(void)messageOfMedicineWith:(NSString *)Id successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//添加提醒
+(void)addwarnTimeWith:(NSString *)Id time:(NSString *)time successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//获取提醒列表（提醒时间不为空时获取）
+(void)getWarnTimeListWithMedicId:(NSString *)medicid successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//关闭或打开单个提醒
+(void)openOrCloseSingleWarnWithId:(NSString *)Id status:(NSInteger)status successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//关闭或者打开所有提醒
+(void)openOrCloseAllWarnWithMedicId:(NSString *)medisId status:(NSInteger)status successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//删除提醒
+(void)deleteMedicineTimeWithMedicId:(NSString *)medicId successHander:(SuccessHander)success failureHander:(FailureHander)failure;

//删除药品
+(void)deleteMedicineWithMedicId:(NSString *)medicId successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//初次进入药品搜索页返回药品列表
+(void)firstToSearchThenBackMedicineListWithPage:(NSInteger)page pageSize:(NSInteger)pageSize successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//修改药物提醒时间
+(void)changeTheTimeOfWarnWithId:(NSString *)Id time:(NSString *)time successHander:(SuccessHander)success failureHander:(FailureHander)failure;
//扫码获取药品信息
+(void)sweepQRcodeToGetMedicineMessageWith:(NSString *)barcode successHander:(SuccessHander)success failureHander:(FailureHander)failure;

@end
